﻿package org.xhs.ui.containers
{
    import baidu.ui.core.*;
    import flash.display.*;

    public class ContainerBase extends BUI
    {
        protected var _children:Array;

        public function ContainerBase()
        {
            this._children = [];
            return;
        }// end function

        public function set children(param1:Array) : void
        {
            var _loc_2:* = undefined;
            this._children = param1;
            for each (_loc_2 in param1)
            {
                
                if (_loc_2 is DisplayObject)
                {
                    addChild(_loc_2);
                }
            }
            return;
        }// end function

        public function get children() : Array
        {
            return this._children;
        }// end function

    }
}
